#pragma once
//disables warning messages that would fly as a result of this implementation
//#pragma warning (disable:4786)
#include <d3d9.h>
#include <d3dx9tex.h>
#include <string>



struct OutputItem
{
	unsigned int top, left, bottom, right;
	LPCSTR OutputString;
};

class DXConsole
{
public:
	ID3DXFont* m_font;
	OutputItem m_text;

	DXConsole();
	//copy ctor and assignment should be private
	DXConsole(const DXConsole&);
	DXConsole& operator=(const DXConsole&);
	void DXInitFont();

	//this class is a singleton
	static DXConsole* Instance();

	void DXOut( LPCSTR a_out,unsigned int,unsigned int,unsigned int,unsigned int);

	void DXDrawText(D3DCOLOR fontColor);

};
